package customer.GUI.components;

import java.awt.FlowLayout;
import java.awt.GridLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;


public class NetPlayCustomPanel extends JTabbedPane{
	
	/*
	 * Components	
	 */
//	private JPanel panelFilter;
//	private JPanel panelRooms;
	
	
	
	public NetPlayCustomPanel( )
	{
		super();
		
//		panelFilter = new NetPlayCustomFilterPanel();
//		panelRooms = new NetPlayCustomRoomPanel();
	}
	
	public void addNewTab(String gameName)
	{
		JPanel panelMain = new JPanel();
		panelMain.setLayout(new FlowLayout());//GridLayout(2,1));
		panelMain.add(new NetPlayCustomFilterPanel());
		panelMain.add(new NetPlayCustomRoomPanel());
		this.addTab(gameName, panelMain);
	}
	
	
}
